<div class="appointmentcontainer">
	    <div>
	    		<label class="appointmentlabel" style="width: 70%"><strong>Lab to route to:</strong>
				<select class="docselect" id="labs" >
					<%for(var i in labs){%>
						<option value="<%= labs[i].id%>" ><%= labs[i].labName%></option>
					<%}%>				
				</select></label> 
	    
	    	<input type="button" id="savePrescription" value="Save">
	    </div>

	<div class="patientlabels">
	<%if(appointment.get("video")== "Y" && new Date(appointment.get("dateOfAppointment")).compare(new Date()) <2 ){%>
	<label class="appointmentlabel"><strong>Click here to start video session:</strong><img class="videoimg" src="/assets/images/new_window.gif" ></label>
	
	<%}%>
	
		<label class="appointmentlabel"><strong>Patient Name:</strong><%=appointment.get('patient').name%></label> 
		<label class="appointmentlabel" ><strong>Complaint:</strong> <%=appointment.get('appointmentHeadline')!=null?appointment.get('appointmentHeadline'):appointment.get('problem').topicName%> </label>
        <label class="appointmentlabel"><strong>Other Information:</strong> <%=appointment.get('appointmentComment')%></label>
        <label class="appointmentlabel"><strong>Previous reports:</strong><img class="preports" src="/assets/images/new_window.gif" ></label> 
        <label class="appointmentlabel"><strong>Patient History:</strong><img class="phistory" src="/assets/images/new_window.gif" ></label> 
    </div>
    <form id="docpres">
    
	    <div class="examinationsection">
				<select class="docselect" id="profiles" multiple="multiple">
					<%for(var i in distinctprofiles){%>
						<option value="<%= distinctprofiles[i]%>" ><%= distinctprofiles[i]%></option>
					<%}%>
				</select>
				<span> &nbsp;&nbsp; </span>
				<select class="docselect" id="examinations" multiple="multiple">
					<%for(var i in subtype){%>
						<option value="<%= subtype[i]%>" ><%= subtype[i]%></option>
					<%}%>
				</select>
				<div class="examinations"><table class="tableexam"> <tr></tr></table></div>
	
	    </div>    
	    <div>
	    <textarea class="ckeditor" name="editor1" id="editor1"></textarea>
	    </div>
    </form>    
</div>